package org.zr.solr.repository;

import org.springframework.data.solr.repository.SolrCrudRepository;
import org.springframework.stereotype.Repository;
import org.zr.solr.entity.Article;

import java.util.List;

@Repository
public interface ArticleSolrRepository extends SolrCrudRepository<Article, Long> {

    List<Article> findByTitle(String title);
}
